def func(num):
    if num == 2:
        return 1
    else:
        return num * func(num - 1)
result = func(20)
print(result)
